Carbon_Fields\Container\Container B

Total Complexity 93
Dependencies 11
Dependents 4
Total lines 901
Lines of code 361
Logical lines of code 197
Comment lines 395
Methods 49
Properties 16

Methods 49

Method Rating Maintainability Complexity Lines of code
get_field_by_name()
A
46 10 39
factory()
A
47 7 36
add_fields()
S
56 5 18
create_tab()
S
56 5 18
set_datastore()
S
62 4 11
to_json()
S
52 2 24
_attach()
S
64 3 10
__construct()
S
59 2 15
get_tabs_json()
S
64 3 10
get_root_field_by_name()
S
66 3 9
set_layout()
S
60 2 14
get_tabs()
S
63 2 11
save()
S
71 2 6
register_field_name()
S
66 2 8
_save()
S
70 2 6
verified_nonce_in_request()
S
69 2 6
load()
S
74 2 5
get_condition_types()
S
65 2 8
activate()
S
65 2 9
get_untabbed_fields()
S
64 2 10
get_field_pattern_regex()
S
64 1 11
is_tabbed()
S
81 1 3
is_active()
S
82 1 3
get_nonce_name()
S
80 1 3
get_classes()
S
82 1 3
set_classes()
S
76 1 4
get_id()
S
82 1 3
add_tab()
S
73 1 5
where()
S
75 1 4
or_where()
S
75 1 4
get_nonce_value()
S
80 1 3
has_default_datastore()
S
82 1 3
get_datastore()
S
82 1 3
get_environment_for_object()
S
100 1 0
is_valid_save()
S
100 1 0
attach()
S
98 1 1
is_valid_attach()
S
75 1 4
get_environment_for_request()
S
100 1 0
is_valid_attach_for_request()
S
100 1 0
static_conditions_pass()
S
67 1 8
is_valid_attach_for_object()
S
100 1 0
init()
S
100 1 0
all_conditions_pass()
S
76 1 4
should_activate()
S
82 1 3
make()
S
78 1 3
get_fields()
S
82 1 3
boot()
S
91 1 2
_is_valid_save()
S
71 1 5
has_fields()
S
81 1 3